<%= render :partial => 'spree/admin/shared/sub_menu/configuration' %>

<% content_for :page_title do %>
  <%= Spree.t(:new_plan) %>
<% end %>

<% content_for :page_actions do %>
  <%= button_link_to Spree.t(:back_to_plans_list), admin_recurring_plans_path(@recurring), :icon => 'arrow-left' %>
<% end %>

<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @plan } %>

<%= form_for @plan, :url => admin_recurring_plans_path(@recurring) do |f| %>
  <fieldset class="no-border-top">
    <%= render :partial => 'form', :locals => { :f => f } %>
    <div data-hook="buttons" class="form-actions">
      <%= button Spree.t(:create), 'ok', {class: 'btn-success'} %>
    </div>
  </fieldset>
<% end %>